package io.renren.modules.report.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.report.dao.ConnectUserDao;
import io.renren.modules.report.entity.ConnectUserEntity;
import io.renren.modules.report.service.ConnectUserService;


@Service("connectUserService")
public class ConnectUserServiceImpl extends ServiceImpl<ConnectUserDao, ConnectUserEntity> implements ConnectUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ConnectUserEntity> page = this.page(
                new Query<ConnectUserEntity>().getPage(params),
                new QueryWrapper<ConnectUserEntity>()
        );

        return new PageUtils(page);
    }

}